package com.bl.student.dao.model.custom;

import com.bl.student.common.enums.DetailItemType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * Created by yujingyi on 2018/2/1.
 */
@ApiModel(value = "详情单个项目")
@Data
public class DetailItem {

    @ApiModelProperty(value = "顺序")
    private Integer order;

    @ApiModelProperty(value = "类型(TEXT 文本内容 IMAGE 图片 VIDEO 视频 ALBUM 图集)")
    private DetailItemType type;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "内容列表,当内容为多个时(如图集)使用该字段")
    private List<String> contentList;

    private float ratio;
}
